package com.tql.view.service;

import com.tql.view.pojo.Notice;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface NoticeService {
    //获取最新的一条消息
    public Notice getLastOne();
    //查看全部通知
    public List<Notice> getAllNotice(Integer page, Integer size);
    //插入一条通知
    public void insertNotice(Map<String,Object> params);
    public void deleteNotice(String id);
}
